package com.synchrona.update;

import java.sql.Timestamp;
import java.util.List;

import com.synchrona.account.Account;
import com.synchrona.common.EnumService;
import com.synchrona.common.EnumUpdateStatus;
import com.synchrona.service.Service;
import com.synchrona.user.User;


public class Update {
	
	private int updateId;
	private String updateType;
	private String data;
	private Timestamp updateTime;
	private User user;
	private EnumService service;
	private Account syncAccount;
	private EnumUpdateStatus updateStatus;
	
	public Update() {
		
	}

	public void setUpdateId(int updateId) {
		this.updateId = updateId;
	}

	public int getUpdateId() {
		return updateId;
	}

	public void setUpdateType(String updateType) {
		this.updateType = updateType;
	}

	public String getUpdateType() {
		return updateType;
	}

	public void setData(String data) {
		this.data = data;
	}

	public String getData() {
		return data;
	}

	public void setUpdateTime(Timestamp updateTime) {
		this.updateTime = updateTime;
	}

	public Timestamp getUpdateTime() {
		return updateTime;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public User getUser() {
		return user;
	}

	public void setService(EnumService service) {
		this.service = service;
	}

	public EnumService getService() {
		return service;
	}

	public void setSyncAccount(Account syncAccount) {
		this.syncAccount = syncAccount;
	}

	public Account getSyncAccount() {
		return syncAccount;
	}

	public void setUpdateStatus(EnumUpdateStatus updateStatus) {
		this.updateStatus = updateStatus;
	}

	public EnumUpdateStatus getUpdateStatus() {
		return updateStatus;
	}

	
	
}
